package com.bite.system.domain.sysuser;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bite.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;
@Getter
@Setter
@ToString
@TableName("tb_sys_user")
public class SysUser extends BaseEntity {
    //ASSIGN_ID雪花算法
    @TableId(type = IdType.ASSIGN_ID)
    private Long userId;   //主键，不再使用自增主键auto_increment
    private  String userAccount;
    private  String password;
    private String nickName;



}
